package com.open.shitou.fragment;

import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.open.shitou.R;
import com.open.shitou.view.ScrollForeverTextView;
import com.zhy.autolayout.utils.AutoUtils;

import butterknife.BindView;
import butterknife.ButterKnife;

/**
 * Created by hailongqiu on 2018/3/1.
 */

public class PubGoodsFragment extends BaseFragment {

    @BindView(R.id.left_lay)
    LinearLayout mLeftLay;
    @BindView(R.id.left_tv)
    ScrollForeverTextView mLeftTv;
    @BindView(R.id.right_tv)
    TextView rightTv;

    @Nullable
    @Override
    public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.fragment_pub_goods_select, container, false);
        AutoUtils.auto(view);
        ButterKnife.bind(this, view);
        initTitlerBar();
        return view;
    }

    /**
     * 初始化标题栏
     */
    private void initTitlerBar() {
        mLeftLay.setVisibility(View.GONE);
        mLeftTv.setText(R.string.pub_select_title);
        rightTv.setText(R.string.pub_select_right_my_str);
    }

    @Override
    public void onDestroyView() {
        super.onDestroyView();
    }
}
